using Castle.Windsor;
using Common;

namespace ConsoleApp
{
    public class Interchangeable
	{
		private IWindsorContainer _container;

		public Interchangeable()
		{
			_container = IoC.CreateContainer().WithBoo("config.boo");
		}

		public void Run()
		{
			ISomething item = _container.Resolve<ISomething>();
			item.Execute();
		}
	}
}
